def highest(name):
    f = open('studs.txt', 'r')
    group_ = f.readlines()
    max_ = []
    for i in group_:
        part = i.split(":")
        max_.append(int(part[1]))
    max_number = max(max_)
    position = max_.index(max_number)
    # position = [index for index, value in enumerate(max_) if value == max_number]
    output = group_[position]
    f.close()
    return output

if __name__ == '__main__':
    highest("")